package com.ruoyi.business.projectTosView.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName V_PROJECT_TOS
 */
@TableName(value ="V_PROJECT_TOS")
@Data
public class VProjectTos implements Serializable {
    /**
     * 计费系统PROJECT_RECODE_ID(未计费时为空)
     */
    @TableField(value = "PROJECT_ID")
    private Long projectId;

    /**
     * 计费合同ID(未计费时为空)
     */
    @TableField(value = "CON_ID")
    private Long conId;

    /**
     * 计费合同代码(未计费时为空)
     */
    @TableField(value = "CON_CODE")
    private String conCode;

    /**
     * 计费状态
     */
    @TableField(value = "CHARGE_STATUS")
    private Long chargeStatus;

    /**
     * TOS表GEY
     */
    @TableField(value = "GKEY")
    private String gkey;

    /**
     * 码头
     */
    @TableField(value = "COMPANY_COD")
    private String companyCod;

    /**
     * 作业点
     */
    @TableField(value = "CFS_COD")
    private String cfsCod;

    /**
     * 计费类型
     */
    @TableField(value = "PROJECT_TYPE")
    private String projectType;
    
    /**
     * 计费类型 中文
     */
    @TableField(value = "PROJECT_TYPE_NAME")
    private String projectTypeName;

    /**
     * 预约号
     */
    @TableField(value = "RESERVATION_NO")
    private String reservationNo;

    /**
     * 船名
     */
    @TableField(value = "SHIP_NAM")
    private String shipNam;

    /**
     * 航次
     */
    @TableField(value = "VOYAGE")
    private String voyage;

    /**
     * 提单号
     */
    @TableField(value = "BILL_NO")
    private String billNo;

    /**
     * 货名
     */
    @TableField(value = "CARGO_NAME")
    private String cargoName;

    /**
     * 集装箱号
     */
    @TableField(value = "CONTAINER_NO")
    private String containerNo;

    /**
     * 业务开始时间
     */
    @TableField(value = "START_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 业务结束时间
     */
    @TableField(value = "END_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 业务数据摘要
     */
    @TableField(value = "PROJECT_DATA")
    private String projectData;

    /**
     * 结算方式
     */
    @TableField(value = "FEE_WAY")
    private String feeWay;

    /**
     * 结费客户代码
     */
    @TableField(value = "CUSTOMER_COD")
    private String customerCod;

    /**
     * 结费客户名称
     */
    @TableField(value = "CUSTOMER_NAM")
    private String customerNam;
    
    /**
     * 进出口类型
     */
    @TableField(value = "IE_TYPE")
    private String ieType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}